package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 gold_exchange_log
 * 
 * @author ruoyi
 * @date 2024-09-28
 */
public class GoldExchangeLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 战队长id */
    @Excel(name = "战队长id")
    private Long account;

    /** 兑换的金币数量 */
    @Excel(name = "兑换的金币数量")
    private Long coin;

    /** 在兑换金币功能中消耗的silver数额 * 10000 */
    @Excel(name = "在兑换金币功能中消耗的silver数额 * 10000")
    private Long silverCost;

    /** 标记位(1:是否是战队队长) */
    @Excel(name = "标记位(1:是否是战队队长)")
    private Integer flag;

    /** 日期 */
    @Excel(name = "日期")
    private String startDate;

    /** 战队长兑换金币的时间 */
    @Excel(name = "战队长兑换金币的时间")
    private String startTime;

    /** 是否处理 */
    @Excel(name = "是否处理")
    private Integer dealDone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccount(Long account) 
    {
        this.account = account;
    }

    public Long getAccount() 
    {
        return account;
    }
    public void setCoin(Long coin) 
    {
        this.coin = coin;
    }

    public Long getCoin() 
    {
        return coin;
    }
    public void setSilverCost(Long silverCost) 
    {
        this.silverCost = silverCost;
    }

    public Long getSilverCost() 
    {
        return silverCost;
    }
    public void setFlag(Integer flag) 
    {
        this.flag = flag;
    }

    public Integer getFlag() 
    {
        return flag;
    }
    public void setStartDate(String startDate) 
    {
        this.startDate = startDate;
    }

    public String getStartDate() 
    {
        return startDate;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setDealDone(Integer dealDone) 
    {
        this.dealDone = dealDone;
    }

    public Integer getDealDone() 
    {
        return dealDone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("account", getAccount())
            .append("coin", getCoin())
            .append("silverCost", getSilverCost())
            .append("flag", getFlag())
            .append("startDate", getStartDate())
            .append("startTime", getStartTime())
            .append("createTime", getCreateTime())
            .append("dealDone", getDealDone())
            .toString();
    }
}
